/* CSS file */
@namespace component "com.sunrise.visual.frame.component.*";
@namespace mx "library://ns.adobe.com/flex/mx";
@namespace s "library://ns.adobe.com/flex/spark";

global {
	fontFamily: "Microsoft Yahei","微软雅黑",Georgia;
	color:#ffffff;
	fontSize: 10;
}

mx|ToolTip {
	color: black;
	fontSize: 12;
	backgroundColor:white;
}

/* 主程序标题文本 */
.appTitleStyle {
	color: #FFFFFF;
	fontWeight: bold;
	fontSize: 26;
	textAlign : center;
	fontThickness: 22;
}
.boderStyle
{  
	backgroundAlpha: 1.0;  
	backgroundSize: "auto";  
	bevel: true;
	borderAlpha: 1.0;
	borderColor: #447bd5;
	borderSides: "left top right bottom";  
	borderSkin: ClassReference("mx.skins.halo.HaloBorder");  
	borderStyle: "inset";  
	borderThickness: 1;
	paddingLeft: 10;
	paddingTop: 10;
	paddingRight: 10;
}  

.titleStyle {
	fontSize: 18;
	textAlign : center;
}

.textStyle {
	color: #FFFFFF;
	fontWeight: bold;
	fontSize: 14;
	textAlign : center;
}

.AppStyle
{  
	backgroundColor: #000000;
	borderThickness: 10;
	borderStyle: solid;
	borderColor: #000000;
}  



component|GroupBox {
	titleFontSize : 18;
	titleColor : #FFFFFF;
	borderColor:#1f497d;
	borderThickness:2;
	borderStyle: solid;
	paddingLeft: 5;
	paddingTop: 5;
	paddingRight: 5;
	paddingBottom: 5;
}


mx|AdvancedDataGrid {
	headerColors: #000000, #000000;
	horizontalGridLineColor: #000000;
	horizontalGridLines: true;
	headerStyleName: headStyle;
	focusAlpha: 0;
	color: #FFFFFF;
	alternatingItemColors: #121212, #0e0e0e;
	verticalGridLineColor: #333333;
	rollOverColor: #5b5b5b;
	textRollOverColor: #c9ceee;
	borderColor: #333333;
	borderThickness:1;
	borderStyle: solid;
	borderSides: "top";  
	selectionColor: #000000;
	textSelectedColor: #aaaeee;
	headerSortSeparatorSkin:ClassReference("mx.skins.ProgrammaticSkin");
	headerSeparatorSkin: ClassReference("mx.skins.ProgrammaticSkin");
	headerHorizontalSeparatorSkin:ClassReference("mx.skins.ProgrammaticSkin");
	
	paddingLeft: 2;
	paddingRight: 2;
	paddingBottom: 2;
}
.gridWithBorder {
	borderColor: #333333;
	borderThickness:1;
	borderStyle: solid;
	borderSides: "top,left,right,bottom";  
	fontSize:12;
}
.gridTitle {
	fontSize: 16;
	textAlign : center;
}
.headStyle {
	color: #FFFFFF;
	fontSize: 12;
	borderColor:#000000;
	borderAlpha:0;
}

.textWithBorder {
	borderColor:green;
	borderThickness:2;
	cornerRadius:5;
	borderStyle: solid;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
	color:#4eff08;
}

.widgetTitle {
	color: #FFFFFF;
	fontWeight: bold;
	fontSize: 16;
	textAlign : center;
}

.widgetNumber {
	color: #FFFFFF;
	fontWeight: bold;
	fontSize: 22;
	textAlign : center;
}

.contentStyle {
	color: #FFFFFF;
	fontFamily: "Times New Roman";
	fontSize: 12;
	fontWeight: normal;
	text-align:left;
}
.minTitleStyle {
	color: #FFFFFF;
	fontSize: 18;
	textAlign : center;
}
.tdFontColorStyle {
	fontSize: 14;
}
.imgTextStyle {
	color: #000000;
	fontSize: 12;
	textAlign : center;
}

.textWithBlueBorder {
	borderColor:#376092;
	borderThickness:3;
	cornerRadius:5;
	borderStyle: solid;
	text-align:center;
	fontSize: 14;
	padding-bottom: 0;
	padding-left: 0;
	padding-right: 0;
	padding-top: 0;
}

.textWithBlueBorder mx|HBox{
	fontSize: 16;
}

.groupBox {
	borderColor:#1f497d;
	borderThickness:2;
	borderStyle: solid;
}

.chartTitle{
	color: #FFFFFF;
	fontWeight: Normal;
	fontSize: 16;
	textAlign : center;
	padding-top:0;
	padding-bottom:0;
}

.chartSubtitle{
	color: #FFFFFF;
	fontWeight: normal;
	fontSize: 12;
	textAlign : center;
	padding-top:-10;
	padding-bottom:0;
}
.chartUnit {
	color: #FFFFFF;
	fontWeight: bold;
	fontSize: 14;
	textAlign : center;
}

/*widget*/
.widgetSelected {
	backgroundColor: #1a7ad3;
	backgroundAlpha: 1.0;  
	backgroundSize: "auto";  
	bevel: true;
	borderAlpha: 1.0;
	borderColor: #447bd5;
	borderSides: "left top right bottom";  
	borderSkin: ClassReference("mx.skins.halo.HaloBorder");  
	borderStyle: "inset";  
	borderThickness: 2;
	paddingLeft: 10;
	paddingTop: 10;
	paddingRight: 10;
}
.widgetUnSelected {
	backgroundColor: #1a7ad3;
	backgroundAlpha: 0.0;  
	backgroundSize: "auto";  
	bevel: true;
	borderAlpha: 1.0;
	borderColor: #447bd5;
	borderSides: "left top right bottom";  
	borderSkin: ClassReference("mx.skins.halo.HaloBorder");  
	borderStyle: "inset";  
	borderThickness: 2;
	paddingLeft: 10;
	paddingTop: 10;
	paddingRight: 10;
}

/*main*/

.mainBox {
	backgroundColor:black;
	paddingLeft: 10;
	paddingRight: 10;
}
.mainChartStyle {
	paddingLeft: 20;
	paddingRight: 20;
}
.mainUnit {
	color: #FFFFFF;
	fontSize: 14;
	textAlign : center;
}

.mainToSubIndicator {
	color: #FFFFFF;
	fontSize: 14;
	textAlign : center;
}


mx|HScrollBar
{
	downArrowDisabledSkin: 				Embed(source="asset/images/scroll/HScrollArrowLeft_disabledSkin.png");
	downArrowDownSkin: 					Embed(source="asset/images/scroll/HScrollBar_downArrowDownSkin.png");
	downArrowOverSkin: 					Embed(source="asset/images/scroll/HScrollBar_downArrowOverSkin.png");
	downArrowUpSkin: 					Embed(source="asset/images/scroll/HScrollBar_downArrowUpSkin.png");
	thumbDownSkin: 						Embed(source="asset/images/scroll/HScrollBar_thumbDownSkin.png",
		scaleGridTop="10",
		scaleGridLeft="7",
		scaleGridRight="8",
		scaleGridBottom="42");
	thumbIcon: 							Embed(source="asset/images/scroll/HScrollBar_thumbIcon.png");
	thumbOverSkin: 						Embed(source="asset/images/scroll/HScrollBar_thumbOverSkin.png",
		scaleGridTop="10",
		scaleGridLeft="7",
		scaleGridRight="8",
		scaleGridBottom="42");
	thumbUpSkin: 						Embed(source="asset/images/scroll/HScrollBar_thumbUpSkin.png",
		scaleGridTop="10",
		scaleGridLeft="7",
		scaleGridRight="8",
		scaleGridBottom="42");
	trackDisabledSkin: 					Embed(source="asset/images/scroll/HScrollBar_trackDisabledSkin.png");
	trackSkin: 							Embed(source="asset/images/scroll/HScrollBar_trackSkin.png");
	upArrowDisabledSkin: 				Embed(source="asset/images/scroll/HScrollArrowRight_disabledSkin.png");
	upArrowDownSkin: 					Embed(source="asset/images/scroll/HScrollBar_upArrowDownSkin.png");
	upArrowOverSkin: 					Embed(source="asset/images/scroll/HScrollBar_upArrowOverSkin.png");
	upArrowUpSkin: 						Embed(source="asset/images/scroll/HScrollBar_upArrowUpSkin.png");
}

mx|VScrollBar
{
	
	downArrowDisabledSkin: 				Embed(source="asset/images/scroll/VScrollBar_downArrowDisabledSkin.png");
	downArrowDownSkin: 					Embed(source="asset/images/scroll/VScrollBar_downArrowDownSkin.png");
	downArrowOverSkin: 					Embed(source="asset/images/scroll/VScrollBar_downArrowOverSkin.png");
	downArrowUpSkin: 					Embed(source="asset/images/scroll/VScrollBar_downArrowUpSkin.png");
	thumbIcon: 							Embed(source="asset/images/scroll/VScrollBar_thumbIcon.png");
	thumbDownSkin: 						Embed(source="asset/images/scroll/VScrollBar_thumbDownSkin.png",
		scaleGridTop="10",
		scaleGridLeft="7",
		scaleGridRight="8",
		scaleGridBottom="42");
	thumbOverSkin: 						Embed(source="asset/images/scroll/VScrollBar_thumbOverSkin.png",
		scaleGridTop="10",
		scaleGridLeft="7",
		scaleGridRight="8",
		scaleGridBottom="42");
	thumbUpSkin: 						Embed(source="asset/images/scroll/VScrollBar_thumbUpSkin.png",
		scaleGridTop="25",
		scaleGridLeft="7",
		scaleGridRight="8",
		scaleGridBottom="42");
	trackDisabledSkin: 					Embed(source="asset/images/scroll/VScrollBar_trackDisabledSkin.png");
	trackSkin: 							Embed(source="asset/images/scroll/VScrollBar_trackSkin.png");
	upArrowDisabledSkin: 				Embed(source="asset/images/scroll/VScrollBar_upArrowDisabledSkin.png");
	upArrowDownSkin: 					Embed(source="asset/images/scroll/VScrollBar_upArrowDownSkin.png");
	upArrowOverSkin: 					Embed(source="asset/images/scroll/VScrollBar_upArrowOverSkin.png");
	upArrowUpSkin: 						Embed(source="asset/images/scroll/VScrollBar_upArrowUpSkin.png");
}

/*西电东送*/
.xddsTitle {
	textAlign:"center";
	fontSize: 14;
}
.xddsValue {
	textAlign:"center";
	fontSize: 20;
}
.xddsBoxBorder {
	borderColor:#376092;
	borderThickness:3;
	cornerRadius:5;
	borderStyle: solid;
	text-align:center;
	fontSize: 14;
	padding-bottom: 3;
	padding-left: 0;
	padding-right: 0;
	padding-top: 3;
}
.xddsLindTitle {
	textAlign:"center";
	fontSize: 16;
}

.xddsLineInfo{
	textAlign:"left";
	fontSize: 14;
}

s|ButtonBar s|ButtonBarButton:upAndSelected,
s|ButtonBar s|ButtonBarButton:overAndSelected,
s|ButtonBar s|ButtonBarButton:downAndSelected,
s|ButtonBar s|ButtonBarButton:disabledAndSelected {
	chromeColor: #000000;
	color: #ffffff;
}
s|ButtonBar { 
	chromeColor: #544444;
	color: #a39b9b;
}